﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage.Master" CodeBehind="Employee_Modify.aspx.cs" Inherits="WebUI.Admin.Employee.Employee_Modify" %>

<asp:Content ID ="Content1" ContentPlaceHolderID ="ContentPlaceHolder1" runat="server">
    <table>
        <tr>
            <td colspan="2" style="height: 21px">
                <asp:Label ID="lbEmployeeSn" runat="server" Text="员工编号："></asp:Label><asp:Label ID="lbPersonSn"
                    runat="server" ForeColor="#404040"></asp:Label></td>
        </tr>
        <tr>
            <td style="width: 106px">
                员工姓名：</td>
            <td style="width: 101px">
                <asp:TextBox ID="txtPersonName" runat="server" ForeColor="#404040"></asp:TextBox>
               </td>
                <td style="text-align:left"> &nbsp;<asp:RequiredFieldValidator ID="RFValidatorPersonName" runat="server" ControlToValidate="txtPersonName"
                    ErrorMessage="*">对不起！员工姓名不能为空</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 106px">
                <asp:Label ID="lblDepartment" runat="server" Text="所在部门：" Visible="False"></asp:Label></td>
            <td style="width: 101px; text-align: left;"><asp:DropDownList ID="ddrDepartment" runat="server" Visible="False" ForeColor="#404040">
                    <asp:ListItem>网站维护部</asp:ListItem>
                    <asp:ListItem>调度室</asp:ListItem>
                    <asp:ListItem>承运部</asp:ListItem>
                    <asp:ListItem>财务部</asp:ListItem>
                <asp:ListItem>运输部</asp:ListItem>
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td style="width: 106px">
                联系电话：</td>
            <td style="width: 101px">
                <asp:TextBox ID="txtTel" runat="server" ForeColor="#404040"></asp:TextBox>
                </td>
                    <td style="text-align:left"><asp:RegularExpressionValidator ID="REValidatorTel" runat="server" ControlToValidate="txtTel"
                    ErrorMessage="*" ValidationExpression="(\(\d{3}\)|\d{3}-)?\d{8}">请输入正确的联系电话</asp:RegularExpressionValidator>
                <asp:RequiredFieldValidator ID="RFValidatorTel" runat="server" ControlToValidate="txtTel"
                    ErrorMessage="*">对不起！联系电话不能为空</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 106px">
                联系地址：</td>
            <td style="width: 101px">
                <asp:TextBox ID="txtAddress" runat="server" ForeColor="#404040"></asp:TextBox>
                </td>
                     <td style="text-align:left">
                         &nbsp;<asp:RequiredFieldValidator ID="RFValidatorAddress" runat="server" ControlToValidate="txtAddress"
                    ErrorMessage="*">对不起！联系地址不能为空</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 106px">
                <asp:Label ID="lbRole" runat="server" Text="角色：" Visible="False"></asp:Label></td>
            <td style="width: 101px; text-align: left;">
                <asp:DropDownList ID="drlRoleSn" runat="server" Visible="False" ForeColor="#404040">
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td colspan="2" style="height: 26px">
                <asp:Button ID="btnModify" runat="server" OnClick="btnModify_Click" Text="保存" ForeColor="#404040" />
                <asp:Button ID="btnReset" runat="server" OnClick="btnReset_Click" Text="重置" ForeColor="#404040" /></td>
        </tr>
    </table>
</asp:Content>